import {useGet} from '@/utils/request'


export interface User {
  id: number;
  name: string;
  age: number;
}

export const pageUser = (pageNum = 1, pageSize = 10) => {
  return useGet<any>('/user', {pageSize, pageNum})
}
